package cn.tedu.web.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.tedu.web.entity.Category;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author issen
 * @since 2021-09-23
 */
public interface ICategoryService extends IService<Category> {

    // 保存分类
    public Integer save(String name);

    // 查询所有分类
    public List<Category> findAll();
    
    // 删除分类
    public Integer delete(Category category);
}
